home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / machserver / 1.098 / net / sun3.md / netConfig.c < prev    next >
C/C++ Source or Header  |  1990-10-19  |  1KB  |  33 lines

  1. /*
  2.  * netConfig.c --
  3.  *
  4.  *    Machine-type dependent initialization of the network interfaces.
  5.  *
  6.  * Copyright (C) 1987 Regents of the University of California
  7.  * Permission to use, copy, modify, and distribute this
  8.  * software and its documentation for any purpose and without
  9.  * fee is hereby granted, provided that the above copyright
  10.  * notice appear in all copies.  The University of California
  11.  * makes no representations about the suitability of this
  12.  * software for any purpose.  It is provided "as is" without
  13.  * express or implied warranty.
  14.  *
  15.  *
  16.  * $Header: /sprite/src/kernel/net/sun3.md/RCS/netConfig.c,v 9.1 90/10/19 15:47:39 jhh Exp $ SPRITE (Berkeley)
  17.  */
  18.  
  19. #include <sprite.h>
  20. #include <netInt.h>
  21. #include <netLEInt.h>
  22. #include <netIEInt.h>
  23. #include <netUltraInt.h>
  24.  
  25. Net_Interface netConfigInterfaces[] = {
  26.     {"IE", 0,(Address) NET_IE_CONTROL_REG_ADDR, TRUE, 27, NetIEInit},
  27.     {"LE", 0, (Address) NET_LE_CONTROL_REG_ADDR, TRUE, 27, NetLEInit},
  28.     {"ULTRA", 0, (Address) NET_ULTRA_CONTROL_REG_ADDR, FALSE, 216, NetUltraInit}
  29. };
  30. int netNumConfigInterfaces = 
  31.         sizeof(netConfigInterfaces) / sizeof(Net_Interface);
  32.  
  33.